using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmPrmManagementDtls")]
    public class PrmManagementDtls
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "MngDtlsId", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public int MngDtlsId { get; set; }

		[ForeignKey("MngTest")]
		[DataMember, Display(Name = "MngTestId", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<int> MngTestId { get; set; }

		[ForeignKey("PosType")]
		[DataMember, Display(Name = "PosTypeId", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<int> PosTypeId { get; set; }

		[ForeignKey("SubScoLevel")]
		[DataMember, Display(Name = "SubScoLevelId", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<int> SubScoLevelId { get; set; }

		[DataMember, Display(Name = "PercenPromote", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<decimal> PercenPromote { get; set; }

		[DataMember, Display(Name = "Remarks", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public string Remarks { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PrmManagementDtlsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		public virtual HRM.PrmManagementTest MngTest { get; set; }

		public virtual MasPositionType PosType { get; set; }

		public virtual PrmSubScoreLevel SubScoLevel { get; set; }

    }
}